.body {
    overflow: hidden;
}

.bdz-bg {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
}

@font-face {
    font-family: BankGothic Md BT;
    src: url(../fonts/BANKGOTHICMB.TTF);
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Bauhaus 93';
    src: url(../fonts/bauhs93.ttf);
    font-weight: bold;
    font-style: normal;
}

/* 滚动条 */
/* 滚动条整体部分，可以设置宽度 */
::-webkit-scrollbar {
    width: 0.5rem;
    height: 0.5rem;
}

/* 滚动条两端的按钮 */
::-webkit-scrollbar-button {
    display: none;
}

/* 外层轨道 */
::-webkit-scrollbar-track {
    background-color: black;
}

/* 内层滚动槽 */
::-webkit-scrollbar-track-piece {
    background-color: rgba(129, 129, 129, 0.3);
}

/* 滚动的滑块 */
::-webkit-scrollbar-thumb {
    background-color: rgba(85, 249, 255, 0.9);
}

.widget-window {
    position: fixed;
    width: 25rem;
    height: auto;
    background-color: rgba(21, 21, 31, 0.6);
    backdrop-filter: blur(1rem);
    user-select: none;
    box-shadow: rgba(0, 0, 0, 0.8) 0 0 1rem, rgba(0, 0, 0, 0.6) 0 0 0.2rem inset;
    transition: transform 0.5s;
    border: rgb(0, 255, 255) solid 0.15rem;
    border-bottom: rgb(0, 188, 221) solid 0.15rem;
    border-right: rgba(81, 255, 232, 0.562) solid 0.15rem;
    z-index: 9999;
}



@keyframes windowHideLeft {
    100% {
        transform: translateX(-100%);
    }
}

@keyframes windowHideRight {
    100% {
        transform: translateX(100%);
    }
}

.widget-window .widget-window-line1 {
    display: flex;
    background-image: linear-gradient(to right, rgba(91, 255, 255, 0.8), rgba(39, 50, 82, 0.8) 10%, rgba(2, 9, 29, 0.8) 80%);
    padding: 0.5rem 0rem 0.5rem 1.5rem;
    cursor: move;
    /* width: inherit; */
}

.widget-window .widget-window-line1 .title {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.1rem;
    width: 16.5rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.widget-window .widget-window-line1 .time {
    color: rgb(75, 255, 231);
    font-size: 1.1rem;
    line-height: 1.3rem;
    font-weight: 600;
    /* font-style: italic; */
    letter-spacing: 0.1rem;
    margin-right: 0rem;
    font-family: BankGothic Md BT;
    border: rgba(0, 255, 255, 0.5) solid 0.1rem;
    padding: 0.1rem 0.5rem;
    background-color: black;
    /* filter:drop-shadow(rgb(99, 255, 221) 0 0 0.2rem); */
    position: absolute;
    right: 1rem;
}

.widget-window .close {
    position: absolute;
    bottom: 0;
    right: 0;
    color: rgba(32, 28, 28, 0);
    font-size: 0.3rem;
    font-weight: 600;
    font-family: BankGothic Md BT;
    background-color: rgb(84, 86, 95);
    padding: 0.2rem;
    border-top-left-radius: 70%;
    box-shadow: rgba(0, 0, 0, 0.3) 0.2rem 0.2rem 0.2rem inset;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 99;
}

.widget-window .close:hover {
    opacity: 1;
    color: rgb(255, 18, 1);
    font-size: 1.2rem;
    font-weight: 600;
    background-color: rgb(53, 33, 33);
    padding: 1.5rem 0.75rem 0.75rem 1.5rem;
    border-top-left-radius: 100%;
    box-shadow: rgba(22, 1, 1, 0.6) -0.1rem -0.1rem 0.2rem;
}

.show-btn {
    position: absolute;
    top: 0;
    width: 1.5rem;
    height: 10rem;
    line-height: 10rem;
    background-color: rgba(3, 23, 36, 0.8);
    text-align: center;
    color: rgb(255, 255, 255);
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.2s, width 0.2s, left 0.2s, right 0.2s, border-radius 0.5s;
}

.left-show-btn {
    left: -1.5rem;
    border-top-left-radius: 2rem;
    border-bottom-left-radius: 2rem;
}

.left-show-btn:hover {
    opacity: 0.9;
    width: 3rem;
    left: -3rem;
    border-top-left-radius: 100%;
    border-bottom-left-radius: 100%;
    box-shadow: rgba(0, 0, 0, 0.8) 0 0 0.5rem;
}

.right-show-btn {
    right: -1.5rem;
    border-top-right-radius: 2rem;
    border-bottom-right-radius: 2rem;
}

.right-show-btn:hover {
    opacity: 0.9;
    width: 3rem;
    right: -3rem;
    border-top-right-radius: 100%;
    border-bottom-right-radius: 100%;
    box-shadow: rgba(0, 0, 0, 0.8) 0 0 0.5rem;
}

.widget-window .container {
    height: auto;
    max-height: 50rem;
    overflow-x: hidden;
    overflow-y: auto;
}

/* =========================== 窗口中组件副标题 ============================== */
.window-widget-subtitle {
    background-color: rgb(40, 58, 90);
    border-top: aqua solid 0.2rem;
    border-radius: 0.2rem;
    box-shadow: aqua 0 0 0.5rem;
    color: rgb(233, 233, 233);
    text-shadow: black 0 0 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.1rem;
    padding: 0.5rem 0 0.5rem 2rem;
}

/* =========================== 表格组件type=1 ============================== */
.widget-window-list {
    margin: 0.5rem;
    user-select: text;
    /* background-color: rgb(164, 199, 199); */
}

/* .widget-window-list .main-label 使用 .window-widget-subtitle */
.widget-window-list .container-list {
    padding: 0.5rem;
    height: auto;
    max-height: 27rem;
    overflow-x: hidden;
    overflow-y: auto;
}

.widget-window-list .container-list .list-row {
    display: flex;
    box-shadow: black 0 0 0.5rem;
}

.widget-window-list .container-list .list-row>div {
    padding: 0.5rem 1rem
}

.widget-window-list .container-list .list-row .label {
    /* display: flex; */
    text-align: center;
    color: aqua;
    flex: 1;
    background-color: rgba(17, 1, 1, 0.8);
    border: aqua solid 0.1rem;
    font-size: 0.8rem;
    letter-spacing: 0.1rem;

}

.widget-window-list .container-list .list-row .value {
    /* display: flex; */
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    color: rgb(255, 255, 255);
    flex: 1;
    border: aqua solid 0.1rem;
    /* font-weight: 600; */
    font-size: 0.8rem;
    letter-spacing: 0.1rem;
}

/* =========================== 按钮组件type=2 ============================== */
.widget-window-btns {
    margin: 0.5rem;
    user-select: text;
    user-select: none;
}

/* .main-label 使用 .window-widget-subtitle */

.widget-window-btns .container-list {
    padding: 0.5rem;
    height: auto;
    max-height: 27rem;
    overflow-x: hidden;
    overflow-y: auto;
    box-shadow: black 0 0 0.5rem;
}

.widget-window-btns .container-list .list-row {
    display: flex;
}

.widget-window-btns .container-list .list-row .window-btn {
    padding: 0.5rem;
    color: rgb(255, 194, 113);
    background-color: rgba(9, 110, 105, 0.5);
    border: rgb(255, 194, 113) solid 0.1rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    letter-spacing: 0.1rem;
    margin: 0.5rem 2.5rem;
    text-align: center;
    width: 100%;
    box-shadow: black 0 0 0.5rem;
    cursor: pointer;
}

.widget-window-btns .container-list .list-row .window-btn:hover {
    color: rgb(255, 194, 113);
    background-color: rgba(16, 211, 201, 0.5);
    box-shadow: black 0 0 0.1rem;
}

/* =========================== 图片组件type=3 ============================== */
.widget-window-pic {
    margin: 0.5rem;
    user-select: text;
    user-select: none;
}

/* .main-label 使用 .window-widget-subtitle */

.widget-window-pic .container-list {
    padding: 0.5rem;
    height: auto;
    max-height: 27rem;
    overflow-x: hidden;
    overflow-y: auto;
    box-shadow: black 0 0 0.5rem;
}

.widget-window-pic .container-list .list-row {
    padding: 0.2rem;
}

.widget-window-pic .container-list .list-row .label {
    padding: 0.5rem;
    color: aqua;
    background-color: rgba(9, 110, 105, 0.5);
    border: aqua solid 0.1rem;
    /* border-radius: 0.5rem; */
    font-size: 1rem;
    letter-spacing: 0.1rem;
    text-align: center;
    /* width:100%; */
    box-shadow: black 0 0 0.5rem;
    display: none;
}

.widget-window-pic .container-list .list-row .pic {
    width: 100%;
    animation: picAnimation 6s infinite;
}
.widget-window-pic .container-list .list-row .line{
    height: inherit;
    width: inherit;
    background-color: aliceblue;
    border: rgb(0, 255, 242) solid 0.1rem;
    filter: blur(0.15rem) drop-shadow(aqua 0 0 0.5rem);
    box-shadow: rgb(255, 255, 255) 0 0 0.5rem;
    animation: lineAnimation 3s infinite;
    /* margin-top: -100%; */
}
@keyframes picAnimation {
    0%{
        filter: brightness(100%);
        opacity: 0.8;
    }50%{
        filter: brightness(150%);
        opacity: 1;
    }100%{
        filter: brightness(100%);
        opacity: 0.8;
    }
}
@keyframes lineAnimation {
    0%{
        transform: translateY(0);
        opacity: 1;
    }50%{
        transform: translateY(-15rem);
        opacity: 0.5;
    }100%{
        transform: translateY(0);
        opacity: 1;
    }
}
/* =========================== 图片组件(小号) ============================== */
.container-list-flex {
    display: flex;
    width: auto;
    flex-wrap: wrap;
}
.container-list-flex::-webkit-scrollbar {
    width: 0.2rem;
    height: 0.5rem;
}
.widget-window-pic .container-list-flex .list-row-small {
    margin: 2.5px;
    width: 150px;
    /* border: red solid 0.2rem; */
}

.widget-window-pic .container-list-flex .list-row-small .pic {
    width:100%;
}
/* =========================== iframe组件type=4 ============================== */
.widget-window-iframe {
    margin: 0.5rem;
    user-select: text;
    user-select: none;

}

/* .main-label 使用 .window-widget-subtitle */

.widget-window-iframe .my-iframe {
    padding: 0.5rem;
    height: 17rem;
    width: 100%;
    overflow: hidden;
    box-shadow: black 0 0 0.5rem;
}

.widget-window-iframe .my-iframe {
    /* padding: 0.5rem; */
    height: 17rem;
    width: 100%;
    overflow: hidden;
    box-shadow: black 0 0 0.5rem;
    border: none;
}



/* =========================== video组件 ============================== */
.widget-window-video {
    margin-top: 0.5rem;
}

.widget-window-video .flv-video-box{
    width: 100%;
    height: 15rem;
    margin: 0.5rem;
}
.widget-window-video video{
    width: 100%;
    height: 15rem;
    filter: drop-shadow(rgb(96, 190, 170) 0 0 0.5rem);
}
.widget-window-video .refresh{
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 0.5rem;
    position: relative;
    right: 3rem;
    bottom: 3.5rem;
    float: right;
    width: 3rem;
    height: 3rem;
    line-height: 3rem;
    text-align: center;
    font-size: 1.5rem;
    opacity: 0.6;
    cursor: pointer;
    transition: opacity 0.5s;
}
.widget-window-video .refresh:hover{
    opacity:1;
}